package com.shycloud.mido.homework.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@ApiModel(value = "com-shycloud-mido-homework-api-entity-WeekMemberSubscribe")
@Builder
@TableName(value = "week_member_subscribe")
public class WeekMemberSubscribe {

	@TableId(value = "id", type = IdType.UUID)
	@ApiModelProperty(value = "")
	private String id;

	@TableField(value = "student_id")
	@ApiModelProperty(value = "")
	private String studentId;

	@TableField(value = "member_id")
	@ApiModelProperty(value = "")
	private String memberId;

	/** 订阅时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "订阅时间")
	private LocalDateTime createTime;

	public static final String COL_ID = "id";

	public static final String COL_STUDENT_ID = "student_id";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_CREATE_TIME = "create_time";
}